﻿package ms.utils
{
	import ms.display.Button;
	
	public class ButtonManager
	{
		private static var buttons:Array = [];
		
		public function ButtonManager():void
		{
			
		}
		
		public static function addButton(value:Button):void
		{
			buttons.push(value);
		}
		
		public static function restore():void
		{
			for each(var button:Button in buttons)
			{
				button.restore();
			}
		}
		
		public static function disable():void
		{
			for each(var button:Button in buttons)
			{
				button.disable();
			}
		}
	}
}